/**
 * @description 角色攻击辅助类
 * 
 */


import { createSkeleton } from "utils/util";

const { Tween, Handler } = Laya;

/**
 * Image子弹
 */
export class StaticBullet extends Laya.Image {

	constructor(name) {
		super();
		this.skin = "res/game/bullet/ryan_normal.png";
	}
	
	static getBullet() {
		return new this();
	}
	
	/*flyTo(x, y) {
	}*/


} 

/**
 * Skeleton子弹
 */
export class SkeletonBullet {

	constructor() {
		let b = createSkeleton("role/3/game/fist_1");
		b.scale(0.5, 0.5);
		return b;
	}

	static getBullet() {
		return new this();
	}
}